/*
 CSS重置
 * */

body,
ul,
ol {
	margin: 0px;
	padding: 0px;
}

.flash {
	width: 300px;
	height: 420px;
	position: relative;
	overflow: hidden;
}


/*图片css*/
ul{
	width: 300%;
	position: absolute;
	left: 0px;
	top: 0px;
	transition: 0.5s;
}
ul,
ol {
	list-style: none;
}

ul li {
	width: 300px;
	height: 420px;
	float: left;
	transition: 0.5s;
}

ul li:nth-of-type(1) {
	background: green;
}

ul li:nth-of-type(2) {
	background: blue;
}

ul li:nth-of-type(3) {
	background: red;
}

ul li.now {
	z-index: 1;
	opacity: 1;
}
 


/*箭头css*/

nav a {
	position: absolute;
	top: 100px;
	z-index: 999;
	font-size: 36px;
	width: 40px;
	height: 60px;
	line-height: 60px;
	text-align: center;
	text-decoration: none;
}

nav a:hover {
	background: #333;
	color: white;
}

nav a:nth-of-type(1) {
	left: 0px;
}

nav a:nth-of-type(2) {
	right: 0px;
}


/*原点css*/

ol {
	position: absolute;
	bottom: 50px;
	right: 50px;
	z-index: 99;
}

ol li {
	float: left;
	width: 12px;
	height: 12px;
	border: 2px solid #333;
	background: #ccc;
	border-radius: 50%;
	margin: 0px 5px;
}

ol li.nowx {
	background: white;
	border-color: red;
	box-shadow: 0px 0px 3px black;
}